package hu.vpszd.beans;

import java.io.Serializable;

import javax.faces.bean.SessionScoped;

import org.springframework.stereotype.Component;

@Component("navigationBean")
@SessionScoped
class NavigationController implements Serializable {
	String page = "search.xhtml"
	
	boolean renderFlag = true

	void viewWorkbench() {
		page = "workbench.xhtml"	
	}
	
	void viewSearch() {
		page = "search.xhtml"
	}
	
	void viewNewCustomer() {
		page = "newCustomer.xhtml"
	}
	
	void viewNewUser() {
		page = "newUser.xhtml"
	}
	
	void viewCustomerDataSheet(){
		page = "customerDataSheet.xhtml"
	}
	
	void viewLoanApplication(){
		page = "loanApplication.xhtml"
	}
}
